<?php
namespace Home\Model;
use Think\Model;

class SpecModel extends  Model{
    protected $_validate = array(
        array('spec_name','require','专题名称必须！'),
        array('channel_id','require','必须选择专题所属部门！'),
    );
}